/**
 * Created by oneminute on 7/17/14.
 */

var assert = require("assert");
var should = require("should");
var logger = require("../lib/utils/logger");
var testutils = require("./testutils");
var lz = require("../lib/utils/modules")();

describe("测试config模块。", function () {

    it("测试获取错误对象.", function (done) {
        testutils.check(done, function () {
            var err = lz.Config.errors.getError(lz.Config.errors.ARANGODB_SYSTEM_ERROR, {code:404});
            err.err.code.should.equal(404);
        });
    });

});